import { View } from "@tarojs/components";
import { Icon } from "@/components";
import style from "./index.module.scss";

function SelectionContainer({ children }) {
  return (
    <View className={style["selection-container"]}>
      <View className={`${style["selection-container--content"]}`}>
        {children}
        <View>
          <Icon className={`${style["down-icon"]}`} type="DownChevron" />
        </View>
      </View>
    </View>
  );
}

export default SelectionContainer;
